package com.zhao.oss;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;

// @SpringBootApplication(exclude = DataSourceAutoConfiguration.class)表示不加载数据库
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
//@ComponentScan表示包的扫描
@ComponentScan(basePackages = {"com.zhao"})
public class OssApplication {
    public static void main(String[] args) {
        SpringApplication.run(OssApplication.class,args);
    }
}
